<?php

class CHCLabelsItems extends AbstractHCObject
{
    /**
     * Inner HTML or text for the label. 
     * 
     * Defaults to "".
     *  
     * @param unknown_type $psString
     */
    public function setHTML($psString)
    {
        if (CSDebug::assertString($psString)) return false;
        
        $this->setParam('html', $psString);
    }
    
    
    /**
     * CSS styles for each label. To position the label, use left and top like this:
     * array
     * (
	 *		'left' => '100px',
	 *		'top' => '100px'
	 * );
	 *
     * @param Array $pasArray
     */
    public function setStyle($pasArray)
    {
      if (CSDebug::assertArray($pasArray)) return false;
      
      $this->setParam('style', $pasArray);
    }
}

?>